﻿using System;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            RefClass refClass = new RefClass();
            int a = 20;
            bool result = refClass.judge(ref a);
            Console.WriteLine("验证结果是："+result);




            OutClass outClass = new OutClass ();
            bool rs;
            outClass.judge(20, out rs);

            Console.WriteLine(rs);
        }
    }
}
